Sparse GPU Voxelization of Yarn-Level Cloth

نویسندگان

  • Jorge Lopez-Moreno
  • David Miraut
  • Gabriel Cirio
  • Miguel A. Otaduy
چکیده

glGenBuffers ( 1 , &modelMatrixbuffer ) ; glBindBuffer (GL_ARRAY_BUFFER , modelMatrixbuffer ) ; glBufferData (GL_ARRAY_BUFFER , m_numberOfProfiles∗ ←↩ sizeof ( mat4 ) , NULL , GL_DYNAMIC_DRAW ) ; / / R e g i s t e r VBO wi th CUDA glBindBuffer ( GL_ARRAY_BUFFER , modelMatrixbuffer ) ; registerGLBufferObject (modelMatrixbuffer , &←↩ m_cuda_vbo_resource ) ; m_slices = (glm : : mat4 ∗)glMapBuffer (GL_ARRAY_BUFFER , ←↩ GL_WRITE_ONLY ) ; / / Compute and f i l l modelview d a t a i n m _ s l i c e s . . . / / Now g i v e a h a n d l e t o t h e m a t r i c e s a r r a y f o r t h e ←↩ CUDA s o r t i n g a l g o r t i h m s glUnmapBuffer (GL_ARRAY_BUFFER ) ; vo id∗ d_matrices = mapGLBufferObject(&←↩ m_cuda_vbo_resource ) ; / / S o r t w i th CUDA k e r n e l s

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Dissipation Potentials for Yarn-Level Cloth

Damping is a critical phenomenon in determining the dynamic behavior of animated objects. For yarn-level cloth models, setting the correct damping behavior is particularly complicated, because common damping models in computer graphics do not account for the mixed Eulerian-Lagrangian discretization of efficient yarn-level models. In this paper, we show how to derive a damping model for yarn-lev...

متن کامل

Real-time Cloth Rendering with Fiber-level Detail.

Modeling cloth with fiber-level geometry can produce highly realistic details. However, rendering fiber-level cloth models not only has a high memory cost but it also has a high computation cost even for offline rendering applications. In this paper we present a real-time fiber-level cloth rendering method for current GPUs. Our method procedurally generates fiber-level geometric details on-the-...

متن کامل

Simulation of Tearing Cloth with Frayed Edges

Woven cloth can commonly be seen in daily life and also in animation. Unless prevented in some way, woven cloth usually frays at the edges. However, in computer graphics, woven cloth is typically modeled as a continuum sheet, which is not suitable for representing frays. This paper proposes a model that allows yarn movement and slippage during cloth tearing. Drawing upon techniques from textile...

متن کامل

CAMA: Contact-Aware Matrix Assembly with Unified Collision Handling for GPU-based Cloth Simulation

We present a novel GPU-based approach to robustly and efficiently simulate high-resolution and complexly layered cloth. The key component of our formulation is a parallelized matrix assembly algorithm that can quickly build a large and sparse matrix in a compressed format and accurately solve linear systems on GPUs. We also present a fast and integrated solution for parallel collision handling,...

متن کامل

Simulating Yarn-based Cloth

Cloth is an important material to model and simulate correctly, both in computer graphics and other industrial applications. The commonly used models for cloth in computer graphics typically approximate the cloth as an elastic sheet with linear isotropic behavior inspired by the construction of woven fabrics. However, they do a poor job of predicting the behavior of knits, which are driven by t...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Comput. Graph. Forum

دوره 36  شماره 

صفحات  -

تاریخ انتشار 2017